#include<iostream>
using namespace std;
#include<math.h>
#include<stdlib.h>
#include<time.h>

void main()
{
	srand(time(NULL));
	//you always need to type the above random number generator every time you want to use it//
	int x = rand() % 45000-1;
	//100 is the max number and 1 is the minimum... always keep the parentheses directlt next to the method "rand"//
	cout<<"The random number is "<< x << endl;

	system("pause");
}